/******************************************************************
 * @version      : 1.0
 * @Author       : zhl
 * @Date         : 2023-06-26 14:16:13
 * @LastEditors  : zhl
 * @E-Mail       : zhll168@163.com
 * @Description  : 业务描述
 ******************************************************************/
#ifndef __CONNECT_REQUEST_H__
#define __CONNECT_REQUEST_H__
#include "DLT698-Frame.h"

class ConnectRequest
{
private:
    /* data */
    static ConnectRequest c_connect_request;
    CONNECT_REQUEST_FRAME c_connect_req_params;
public:
    ConnectRequest(/* args */);
    ~ConnectRequest();

    static ConnectRequest& getInstance();

    CONNECT_REQUEST_FRAME& get_connect_req_params();


    int  packet(uint8_t* data, int& len, CONNECT_REQUEST_FRAME reqFrame, int start);
    int  unpack(uint8_t* data, int& len, int start);
};




#endif /* __CONNECT_REQUEST_H__ */